//.welding-banner1{
//  background: url(images/banner1.jpg) no-repeat;
//}

.pos-relative {
  position: $relative;
}

.pos-absolute {
  position: $absolute;
}

.welding-title {
  position: $absolute;
  bottom: $pixel30;
}

.welding-title-box {
  background-color: $bgc1;
  padding: $padding1;
  color: $color1;
}

.welding-association {
  margin-bottom: 20px;
  .ant-avatar {
    background-color: $color4;
    border: 1px solid $color1;
  }
  .anticon {
    color: $color1;
  }
  h2, h3 {
    color: $color1;
  }
  h2 {
    letter-spacing: 4px;
  }
  dl {
    display: inline-block;
    margin: 2% 4% 3% 4%;
    color: $color1;
    dd {
      font-size: 16px;
      margin-top: 10px;
    }
  }
}

.welding-set-gutter-line {
  hr {
    display: inline-block;
    width: $wid20per;
    border-top: 1px solid $color1;
    margin: 0;
  }
  span {
    background-color: $color1;
    padding: 4px 50px;
    display: inline-block;
    transform: translateY(3px);
  }
}

.welding-member {
  background-color: $color2;
  padding: 16px;
}

.welding-member-unit-logo {
  img {
    margin: 10px;
  }
}

.association-news {
  /*时间线样式*/
  .ant-timeline-item {
    padding: 0 0 8px;
  }

  .ant-timeline-item-tail {
    left: 9px;
  }

  .ant-timeline-item-head {
    width: 20px;
    height: 20px;
    border-radius: 100px;
    top: 8px;
  }

  .ant-timeline-item-content {
    margin-left: 30px;
  }

  /*时间线样式 end*/
  .ant-timeline-item-content:not(:nth-last-child(1)) {
    span.pointer {
      position: relative;
      &:after {
        position: absolute;
        content: "";
        height: 35px;
        background-color: $color5;
        width: 2px;
        top: 16px;
        left: 5px
      }
    }
  }
  .ant-timeline-item-content > span {
    display: inline-block;
    margin-right: 10px;
    b, small {
      display: inline-block
    }
    &:nth-of-type(3) {
      width: 60%;
    }
    &:nth-of-type(2) {
      width: 2px;
      background-color: $color1;
      height: 30px;
      vertical-align: middle;
    }
    &:nth-of-type(1) {
      vertical-align: middle;
    }
    &:nth-of-type(4) > b {
      font-size: 16px;
    }
    &:nth-of-type(1) > b {
      font-size: 32px;
      margin-right: 4px;
    }
  }
  .active-news {
    color: $color1;
  }
  .disabled-news {
    .ant-timeline-item-head {
      border-color: $color5;
    }
    span:nth-of-type(2) {
      background-color: $color5;
    }
    color: $color5;
  }
  h4 {
    color: $color1;
  }
  .after-line {
    span {
      &:after {
        left: -10px;
        bottom: -4px;
        width: 130%;
        height: 4px;
        background-color: $color1;
      }
    }
  }
}

.education-set {
  padding: 15px;
  padding-bottom: 25px;
  background: url(./images/banner2.jpg) no-repeat;
  background-size: 100% 100%;
  h2, h3 {
    color: $color4;
  }
  .ant-card {
    background: transparent;
  }
  .ant-card-head {
    border-bottom: none;
    padding: 0 20px;
    .ant-card-head-title {
      font-size: 18px;
      color: $color4;
    }
  }
  .ant-card-small > .ant-card-body {
    padding: 20px;
    padding-top: 0;
  }
  .ant-card-bordered {
    border-width: 2px;
  }
  .welding-set-gutter-line {
    hr {
      border-color: $color4;
    }
    span {
      background-color: $color4;
    }
  }
}

.association-education {
  ul {
    margin: 0;
    margin-left: 10px;
    padding: 0;
  }
  .ant-form-item {
    margin-bottom: 14px;
  }
  li {
    list-style: none;
    color: $color1;
    padding: 6px 12px;
    margin-bottom: $pixel20;
    background-color: rgba(255, 255, 255, 0.8);
  }
  li > span {
    display: inline-block;
    margin-right: 10px;
    small {
      vertical-align: sub;
    }
    b, small {
      display: inline-block;
      font-weight: bold;
    }
    &:nth-of-type(2) {
      width: 2px;
      background-color: $color1;
      height: 30px;
      vertical-align: middle;
    }
    &:nth-of-type(1) {
      vertical-align: middle;
    }
    &:nth-of-type(1) > b {
      font-size: 28px;
      margin-right: 4px;
    }
  }
}